package com.tencent.sr.iris.activity.service.config;

import com.tencent.sr.tech.dynamic.config.spring.annotation.DynamicConfigObject;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * 活动七彩石配置
 *
 * @author xiaojun
 */
@Data
@Component
@DynamicConfigObject(key = "taskBatchDataConfig")
public class TaskBatchDataConfig {

    /**
     * 查询团长,分页大小
     */
    private Integer pageSize = 100;

    /**
     * 跑批团长数量总上限
     */
    private Integer totalLimit = 100000;

    /**
     * 保留数据天数
     */
    private Integer keepDataDays = 7;

    /**
     * 跑批任务停止
     */
    private boolean batchDataJobStop = false;

}
